package model

import (
	"gorm.io/gorm"
)



type Law struct {
	gorm.Model
	LawPaiming string `gorm:"type:varchar(512);comment:22年排名" json:"law_paiming"`
	LawPaiming2 string `gorm:"type:varchar(512);comment:全国排名" json:"law_paiming2"`
	LawSchoolName string `gorm:"type:varchar(512);comment:学校名称" json:"law_school_name"`
	LawProvince string `gorm:"type:varchar(512);comment:省市" json:"law_province"`
	LawSchoolType string `gorm:"type:varchar(512);comment:学校类型" json:"law_school_type"`
	LawScore float64 `gorm:"type:double precision;comment:总得分" json:"law_score"`
	LawImage string `gorm:"type:varchar(512);comment:头像" json:"law_image"`
	LawEnglishName string `gorm:"type:varchar(512);comment:英文名" json:"law_english_name"`
	LawRank string `gorm:"type:varchar(512);comment:等级" json:"law_rank"`




}
func (Law) TableName() string {
	return "law"
}

